<?php
// Static class, used for storage
class Storage {
	static $variables = array();
	
	// Class variables for easy access
	static $DB;
	static $user;
	
	static function set($name, $value) {
		Storage::$variables[$name] = $value;
	}
	
	function get($name) {
		return Storage::$variables[$name];
	}
}